package com.lxs.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author lxs
 * @Title: LiveClient
 * @ProjectName lxs_cloud
 * @Description: TODO
 * @date 2019/2/12  17:31
 */
@FeignClient(value = "lxs-live")
public interface LiveClient {

    //@GetMapping("/getweatherinfo")  用这个的时候不行  因为没有指定工程名live
    @GetMapping("/live/getweatherinfo")
    public String  getWeatherInfo();

}
